import axios from '@/axios';

export default {
  getDeviceList (searchValue, platform, deviceStatus,netStatus) {
    return axios.get('/api/getDevices?imei=' + searchValue + '&platform=' + platform + '&deviceStatus=' + deviceStatus + '&netStatus=' + netStatus);
  },

  getReportDetail (report_id) {
    return axios.get('/api/getReportDetail?report_id='+report_id);
  },
  
  deleteDevice (deviceId) {
    var params = {'deviceId':deviceId}
    return axios.post('/api/deleteDevice',params);
  }
}
